//
// Created by qiyao on 23-3-17.
//

#ifndef TORCH_DEMO_PARAMETER_READER_H
#define TORCH_DEMO_PARAMETER_READER_H
#define WHITE "\033[37m"
#define BOLDRED "\033[1m\033[31m"
#define BOLDGREEN "\033[1m\033[32m"
#include <string>
#include <map>
#include <fstream>
#include <iostream>
using namespace std;
class ParameterReader{
public:
    ParameterReader(const string &filename);//配置文件目录
    string getData(string key);
    map<string,string> data;

};


#endif //TORCH_DEMO_PARAMETER_READER_H
